//
//  SettingDetailMessageViewController.m
//  宜居HD
//
//  Created by 陈柏兵 on 16/5/4.
//  Copyright © 2016年 张金国. All rights reserved.
//

#import "SettingDetailMessageViewController.h"
#import "Macro.h"
#import "Masonry.h"
#import "SettingMessageView.h"

@interface SettingDetailMessageViewController ()

@property (nonatomic, strong) SettingMessageView *SetView;

@end

@implementation SettingDetailMessageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"消息通知";
    self.view.backgroundColor = kSettingBackgroundColor;
    [self layOutUI];
}

- (void)layOutUI {
    [self.SetView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view.mas_top).offset(64);
        make.left.equalTo(self.view.mas_left);
        make.width.equalTo(self.view.mas_width);
        make.height.equalTo(@(SCREEN_HEIGHT * 0.07 * 3));
    }];
}

- (SettingMessageView *)SetView {
    if (_SetView == nil) {
        _SetView = [[SettingMessageView alloc] init];
        [self.view addSubview:_SetView];
    }
    return _SetView;
}


@end
